<?php
// +----------------------------------------------------------------------
// | Hook.
// +----------------------------------------------------------------------
// | Copyright (c) 2016 http://www.suckseed.cn, All rights reserved.
// +----------------------------------------------------------------------
// | Author: wjf <184521508@qq.com> 2017-07-03
// +----------------------------------------------------------------------

namespace app\admin\model;

use think\Model;

class Hook extends Model
{
    public function plugins()
    {
        return $this->belongsToMany('PluginModel', 'hook_plugin', 'plugin', 'hook');
    }
}